From: Richard M. Stallman Date: Sat, 25 Jun 1994 17:54:57 +0000 (+0000) Subject: (Fframe_parameters): Don't handle menu-bar-lines explicitly. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~91008 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=37b2bef6699c39e81f4172f0396bb5d6c60dd528;p=emacs.git (Fframe_parameters): Don't handle menu-bar-lines explicitly. --- diff --git a/src/frame.c b/src/frame.c index 5face5086a9..569b0622c7d 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1369,7 +1369,12 @@ If FRAME is omitted, return information on the currently selected frame.") : FRAME_MINIBUF_ONLY_P (f) ? Qonly : FRAME_MINIBUF_WINDOW (f))); store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); - store_in_alist (&alist, Qmenu_bar_lines, (FRAME_MENU_BAR_LINES (f))); +#if 0 /* This ought to be correct in f->param_alist. */ + store_in_alist (&alist, Qmenu_bar_lines, + (FRAME_MENU_BAR_LINES (f) + ? FRAME_MENU_BAR_LINES (f) + : FRAME_EXTERNAL_MENU_BAR (f))); +#endif /* I think this should be done with a hook. */ #ifdef HAVE_X_WINDOWS